package practicalWork;

import studentsAndDocentWithTutorship.Docent;
import studentsAndDocentWithTutorship.Instructor;
/**
 * 
 * @autor:Medici Maria Laura
 * 
 */
public class Content {
	/* ******************************** Variables ******************************** */
	private Instructor autorS;
	private Docent autorD;
	private String paragraphs;
	private EstadoPW estado; 
	
	/* ******************************* Constructor ******************************* */
	public Content(Instructor autorS, String paragraph){
		this.autorS = autorS;
		this.paragraphs = paragraph;
		this.estado = EstadoPW.CREADO; 
	}
	
	/* ********************************* Metodos ********************************* */
	public void aceptado (){
		this.setEstado (EstadoPW.ACEPTADO); 
	}
	
	public void rechazar (){
		this.setEstado (EstadoPW.RECHAZADO);
	}
	
	public void corregir (){
		this.setEstado (EstadoPW.CORREGIR); 
	}

	/* ******************************** Get & Set ******************************** */
	public void setAutorS(Instructor autorS) {
		this.autorS = autorS;
	}

	public Instructor getAutorS() {
		return autorS;
	}

	public void setParagraphs(String paragraphs) {
		this.paragraphs = paragraphs;
	}

	public String getParagraphs() {
		return paragraphs;
	}
	
	public void setEstado(EstadoPW estado) {
		this.estado = estado;
	}

	public EstadoPW getEstado() {
		return estado;
	}

	public void setAutorD(Docent autorD) {
		this.autorD = autorD;
	}

	public Docent getAutorD() {
		return autorD;
	}
}
